/**
 * 
 */
package simpleFactory;

/**
 * @author sz
 *
 * create time：2012-7-31
 */
public class OperationDiv extends Operation {

	@Override
	public double GetResult() {
		
		double result = 0;
		
		try {
			result = getNumberA() / getNumberB();
		}catch(Exception e){
			e.printStackTrace();
		}
		
		return result;
	
	}
}
